import request from '@/utils/myrequest'
// 查询
function searchInfo(kvs) {
  return request({
    url: '/tms/ELotInformation/GetELotInfoList',
    method: 'get',
    kvs
  })
}
// 保存备注
function doSaveRemark(kvs) {
  return request({
    url: '/tms/ELotInformation/AddRemark',
    method: 'get',
    kvs
  })
}
// 获取备注信息
export function getRemarkList(kvs) {
  return request({
    url: '/config/attributes/GetSelectItemList',
    method: 'get',
    kvs
  })
}
// 获取工作记录lottoolinghistory列表
function getLTHLotInfoList(kvs) {
  return request({
    url: '/tms/LotToolingHistory/GetLTHLotInfoList',
    method: 'get',
    kvs
  })
}
// 获取工作记录HoldHistory列表
function getHoldHistoryList(kvs) {
  return request({
    url: '/tms/LotHoldHistory/GetLHHLotInfoList',
    method: 'get',
    kvs
  })
}
// 获取工作记录action列表
function getEqpActionList(kvs) {
  return request({
    url: '/tms/EqpActionHistory/GetEAHLotInfoList',
    method: 'get',
    kvs
  })
}
// 获取工作记录action列表
function getPhysicalList(kvs) {
  return request({
    url: '/tms/PhysicalData/GetPDLotInfoList',
    method: 'get',
    kvs
  })
}
// 获取时间区间
function getTimeInterval(kvs) {
  return request({
    url: '/tms/ELotInformation/Init',
    method: 'get',
    kvs
  })
}
export default{
  searchInfo, getRemarkList, doSaveRemark, getLTHLotInfoList, getHoldHistoryList,
  getEqpActionList, getPhysicalList, getTimeInterval
}
